package com.start.admin.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.start.admin.entity.StartSysUserManageDept;
import com.start.admin.vo.StartSysUserManageDeptVo;

import java.util.List;

public interface StartSysUserManageDeptService extends IService<StartSysUserManageDept> {
    Page<StartSysUserManageDeptVo> pageUserManage(Page<StartSysUserManageDeptVo> page, Wrapper<StartSysUserManageDeptVo> wrapper);

    List<StartSysUserManageDept> listByUserId(String userId);

    List<StartSysUserManageDept> listByDeptIdAndManageLevel(String deptId, String manageLevel);

}
